package com.cqupt.springframework.beans.factory;

import com.cqupt.springframework.beans.BeansException;

/**
 * @author Zhy
 * @date 2021/6/18 15:56
 */
public interface BeanFactory {

    public Object getBean(String name) throws BeansException;

    public Object getBean(String name, Object... agrs) throws BeansException;

    <T> T getBean(String name, Class<T> requireType) throws BeansException;

    <T> T getBean(Class<T> requiredType) throws BeansException;
}
